package net.shop.biz.db;

import net.shop.common.ShopPager;
import net.shop.dal.entity.Product;
import net.shop.dal.entity.ProductVirtualCategory;

public interface ProductService extends BaseService<Product, Integer> {

	/**
	 * 获取此分类下的商品分页对象
	 * 
	 * @param category
	 * @param pager
	 * @return 分页对象
	 */
	public ShopPager<Product> getProductPager(ProductVirtualCategory category, ShopPager<Product> pager);
	
	public Product findProductByHaseCode(short languageId, long haseCode);
}
